<!DOCTYPE html>
<html>
<head><meta charset="utf-8"/></head>
<body>
<a href="" id="a1" target="new">新窗口</a>
<div id="msg"></div>
<script>
    var a1 = document.getElementById('a1');
    a1.onclick = function(){
        window.open('alert.html', 'new', 'location=no, toolbar=no');
        return false;
    }
</script>
</body>
</html>